How To Match Complex Fabric Patterns